<?php
class DictatorController extends Zend_Controller_Action 
{
    
    public function indexAction()
    {
                
        $entity = Led_Application::getInstance()->getEdo()->fetch($this->_getParam('id'), 'ent_dictator');
        
        print "<pre>";
        
        print "<hr />";
        
        print_r($this->getRequest()->getMethod());
                               
        print_r($this->getRequest()->getHeader('Z-Response-Type'));
                
        print "<hr />";
        print Led_Entity_Renderer::getInstance()->render($entity);
        print "<hr />";
        
               
        
    }
        
    public function findAction()
    {
        $app = Led_Application::getInstance();

        $app->getEdo()->requireType('ent_marker');
        Zend::loadClass('Lead_Sql_Query');

        $marker = ent_marker::find($this->_getParam('id'), $this->_getParam('subid'));
                       
        die();  
        
               
        

    }
    
}